package com.webchat.rmi.config;


import com.webchat.rmi.interceptor.RpcRequestInterceptor;
import org.springframework.context.annotation.Bean;

public class RpcRequestInterceptorAutoConfig {

    @Bean(name = "rpcRequestInterceptor")
    public RpcRequestInterceptor userRequestInterceptor() {
        return new RpcRequestInterceptor();
    }
}
